﻿using System;
using System.Windows;

namespace View
{
    public partial class PowerOffPanel
    {
        public event EventHandler OkExitEvent;
        public event EventHandler CancelExitEvent;

        public PowerOffPanel()
        {
            InitializeComponent();
        }

        private void CancelExitButtonClick(object sender, RoutedEventArgs e)
        { if (CancelExitEvent != null) CancelExitEvent(this, new EventArgs()); }

        private void OkExitButtonClick(object sender, RoutedEventArgs e)
        { if (OkExitEvent != null) OkExitEvent(this, new EventArgs()); }
    }
}